package com.xw.wuliu.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.corey.utils.TitleActivity;
import com.xw.wuliu.R;

public class DailyworkActivity extends TitleActivity{

	private final static int FILE_RESULT_CODE = 0x001;
	
	private Button 		BtnFile;
	private TextView	TxtDate;
	private EditText	mEdtDetail,mEdtPath;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_dailywork);
		
		initView();
	}

	private void initView() {
		setupViews();
		setFullScreen(true);
		setTitle(R.string.dailywork);
		setBtnText(R.string.back, R.string.commit);
		setBtnVisibility(View.VISIBLE, View.VISIBLE);
		
		BtnFile 			= (Button)		findViewById(R.id.dailyreports_openfile);
		TxtDate 		= (TextView) 	findViewById(R.id.dailyreports_date);
		mEdtDetail 	= (EditText) 	findViewById(R.id.dailyreports_details);
		mEdtPath 		= (EditText) 	findViewById(R.id.dailyreports_path);
		
		BtnFile.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
			}
		});
	}

	@Override
	protected void onActivityResult(int requestCode, int resultCode, Intent data) {
		if(FILE_RESULT_CODE == requestCode){
			}
		}
}
